<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<html>
	<head>
	
		<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
		<title></title>
		<link href="gko100/back/css/website.css" rel="stylesheet" />
		<script charset="utf-8" src="kindeditor/kindeditor.js"></script>
		<script charset="utf-8" src="kindeditor/lang/zh_CN.js"></script>
		<script charset="utf-8" src="kindeditor/plugins/code/prettify.js"></script>
		<script>
			KindEditor.ready(function(K) {
				var editor1 = K.create('textarea[name="disease.content"]', {
					cssPath : 'kindeditor/plugins/code/prettify.css',
					uploadJson : 'arti_image_add.action',
					fileManagerJson : 'file_manager_json.jsp',
					allowFileManager : false,
					afterCreate : function() {
						var self = this;
						K.ctrl(document, 13, function() {
							self.sync();
							document.forms['example'].submit();
						});
						K.ctrl(self.edit.doc, 13, function() {
							self.sync();
							document.forms['example'].submit();
						});
					}
				});
				var editor2 = K.create('textarea[name="disease.summary"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
					allowImageUpload : false,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'link']
					});
					prettyPrint();
				});
		</script>

	</head>
	<body>
		

		<s:form action="disease_modify" name="example" method="post">
			
			<s:textfield  name="disease.title" label="标题" />
			<s:textfield  name="disease.url" label="链接" />
			<s:textfield  name="disease.note" label="备注" />
			<s:textarea name="disease.summary" cssStyle="width:700px;height:200px;visibility:hidden;" label="疾病知识简介" />	
			<s:textarea name="disease.content" cssStyle="width:700px;height:200px;visibility:hidden;" label="疾病知识详细介绍"  />	
			<s:submit value="更新模块信息" />
			
		</s:form>
		
 		
	</body>
</html>
			
			